package cn.crism.chatme.pojo;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "chat_msg")
public class ChatMsg {
    @Id
    @Column(name = "chat_msg_id")
    private String chatMsgId;

    @Column(name = "from_user_id")
    private String fromUserId;

    @Column(name = "to_user_id")
    private String toUserId;

    @Column(name = "sign_flag")
    private Integer signFlag;

    @Column(name = "create_time")
    private Date createTime;

    private String msg;

}